package com.cmc.cloud.cmclink.doc.vo.blnoblprintlogvo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.cmes.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.cmes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 提单打印分页 Request VO
 * 
 * @author llp
 */
@Schema(description = "管理后台 - 提单打印分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class BlnoBlPrintLogPageReqVO extends PageParam {

    @Schema(description = "提单id", example = "9807")
    private Long blnoId;

    @Schema(description = "提单号")
    private String blno;

    @Schema(description = "打印内容json")
    private String printJson;

    @Schema(description = "打印类型SIGN TYPE 、Copy件、海运单、正本 ", example = "1")
    private String printType;

    @Schema(description = "打印主体 海外HW  海南HN   ")
    private String printBlEntity;

    @Schema(description = "打印份数 三个选项：0、1、2、3")
    private Integer printNumber;

    @Schema(description = "打印港口")
    private String printPort;

    @Schema(description = "打印船名")
    private String printVessel;

    @Schema(description = "打印航次")
    private String printVoyage;

    @Schema(description = "操作类型 两个选项：preview、printed", example = "1")
    private String operationType;

    @Schema(description = "打印文件名 ", example = "赵六")
    private String printFileName;

    @Schema(description = "draft件地址", example = "22780")
    private String draftFileId;

    @Schema(description = "draft件文件名", example = "李四")
    private String draftFileName;

    @Schema(description = "isusse件地址", example = "29461")
    private String issueFieId;

    @Schema(description = "issue件的文件名", example = "赵六")
    private String issueFileName;

    @Schema(description = "issue件附件页", example = "18282")
    private String attFileId;

    @Schema(description = "issue件附件页文件名", example = "王五")
    private String attFileName;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "备注", example = "你猜")
    private String remark;

}
